// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import MintUI from 'mint-ui';
import App from './App'
import router from './router'
import '../node_modules/mint-ui/lib/style.css'
import '../node_modules/mint-ui/lib/index.js';
import sd from 'silly-datetime'
import '../node_modules/bootstrap/dist/css/bootstrap.min.css'
import './assets/main.css'
import store from './vuex/store.js'

Vue.use(MintUI)

Vue.config.productionTip = false

Vue.filter('dateFormat', function (dataStr, pattern = "YYYY-MM-DD") {
  return sd.format(dataStr, pattern)
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
